[git-users] Checkout a remote branch

2012-08-18 Thread Gabriel Lau
Hi, its possible to do a checkout in a remote branch? I want to test some things in a new branch and see how it works on the server without the need to merge with the master branch. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To vi

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

2012-08-19 Thread Gabriel Lau
Hello Thomas, thanks for the reply. I found the site very interesting, explained quite a lot about the functioning of git, but I found nothing about my problem. *To further clarify* In my case, I have two local branches: master and test. I want to set the test as the main branch of my remote repos

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

2012-08-20 Thread Gabriel Lau
In my case I use a bare repository. It was the easiest way I've found to manage the projects sent to the server. I start a new repository as bare and set it to put the files of the project in a specific directory in the server. But some of those projects I want to set a second branch to test some t

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 proce

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 ne

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 schedu