Re: [git-users] Re: Checkout a remote branch

2012-10-24 Thread Max Hodges
we are using https://bitbucket.org/ for our server.

it's definitely much faster than command-line operations for adding files,
staging, commits, merges, conflict solving, switching branches, etc. but I
understand some people are just purists or enjoy commands because it makes
them feel like a hacker or something ;)

On Wed, Oct 24, 2012 at 8:45 PM, Konstantin Khomoutov 
flatw...@users.sourceforge.net wrote:

 On Wed, 24 Oct 2012 12:47:12 +0900
 Max Hodges m...@whiterabbitpress.com wrote:

  I think the best way to get more efficient with using Git is to simply
  start using a GUI. Then these operations are all just a matter of a
  few clicks.
 
  I use SmartGit myself. some others are listed here
  http://git-scm.com/downloads/guis

 The server in most usual cases is something which is accessed via SSH,
 and any work there is done in a screen/tmux session, from command line.

 Luckily, Git has excellent command-line tools.


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Re: Checkout a remote branch

2012-10-24 Thread Gabriel Lau

 *...enjoy commands because it makes them feel like a hacker or something
 ;)*


It's true. The feeling of writing a few lines of code and see the magic
happen is much more enjoyable than pushing a few buttons. =)

I believe that before using a GUI or something that make life easier in
scheduling, you must know how to write it by hand. And as I only use Git to
commit and push to the server, I still need to learn a lot before using a
GUI.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Re: Checkout a remote branch

2012-10-23 Thread Gabriel Lau
I was just trying to see if there was any way to automate the process,
because I still haven't mastered git.

But the command you told me already helped me a lot and saved me a lot of
unnecessary work, since I wanted to just switch between versions of a
project that was in production server.

No need to heat up over the head with it, thank you very much for your
help. ;)

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Re: Checkout a remote branch

2012-10-23 Thread Max Hodges
I think the best way to get more efficient with using Git is to simply
start using a GUI. Then these operations are all just a matter of a few
clicks.

I use SmartGit myself. some others are listed here
http://git-scm.com/downloads/guis



On Oct 24, 2012, at 11:33, Gabriel Lau gabriels...@yahoo.com.br wrote:

I was just trying to see if there was any way to automate the process,
because I still haven't mastered git.

But the command you told me already helped me a lot and saved me a lot of
unnecessary work, since I wanted to just switch between versions of a
project that was in production server.

No need to heat up over the head with it, thank you very much for your
help. ;)

-- 
You received this message because you are subscribed to the Google Groups
Git for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/git-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Re: Checkout a remote branch

2012-10-19 Thread Gabriel Lau
Thanks for your reply Konstantin. I did what you said and it worked as I
wanted. Now I can switch between the branchs when necessary.

I just have one more question: whenever I have to checkout between branchs,
I have to input the commands that you showed me. Is there any way to
automate this process?

 $ export GIT_WORK_TREE=/path/to/that/directory
 $ export GIT_DIR=/path/to/your/bare/repo
 $ cd $GIT_WORK_TREE
 $ git checkout experiment


For example: After logging on the server and go to the directory of my bare
repository, I can just checkout the branch without having to inform the
WORK_TREE on each process?

$ git checkout experiment

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.