Git: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→Github) |
|||
Zeile 20: | Zeile 20: | ||
==Github== | ==Github== | ||
* SSH Key: https://help.github.com/articles/generating-ssh-keys | * SSH Key: https://help.github.com/articles/generating-ssh-keys | ||
+ | * [https://github.com/trending GitHub Trends] | ||
==Commands== | ==Commands== |
Version vom 18. August 2013, 14:39 Uhr
Introduction
Windows
Here are described the steps to use Git under Windows. Feel free to improve the documentation.
- Create a github account
- Install msysgit
- Install TortoiseGit
- Generate a new RSA Key with TortoiseGit
- Check this basic tutorial on Cloning, Adding, Commiting, Pushing and sending Pull request.
Links
- Tutorials:
- Git Help: http://help.github.com/
Github
Commands
You changed files and want to commit them
- git commit -a -m "YOURMESSAGE"
- git push origin
Branches
- Rename branch: git branch -m <new_branch_name>
When merge branch was accepted
- git remote update (get and update all remote references)
- git remote prune origin (remove all local references to remote branches of origin)
- git branch -av (view all branches)
- git checkout master (change to your local branch)
- git pull
- git branch -d <branch_name> (delete the local branch)