git pull & push
Posted: Thursday, March 26, 2009 by Ric in
0
Now that I finally got the time to have local and remote repositories with ssh daemons in Windows..
It helps to just be able to push and pull with a right click ;)
this is where I say that: Tortoise Git is cool
I hear alot of people, specially on StackOverflow say its not ready yet..
Well 80% of every tool I use (that I like) these days is not ready yet..
- gmail is still beta..
- ASP.NET MVC is still not a full product ..
- Git in Windows is "not ready yet"
The list goes on..
What I do now, when I want to make a local repository:
- mkdir codedir
- git init
- git gui
- git remote add <name> <location>
and finally:
- git pull <branch>
You can add these lines to the .git/config file on that folder:
[branch "master"]
remote = realdeal
merge =
refs/heads/master
Then you can go about:
- git pull
- git push
without thinking about branch names.
With Git Tortoise, you can even do it with right clicks