Last active
August 29, 2015 14:04
-
-
Save pablomaurer/e3ffa2ea88e5de050363 to your computer and use it in GitHub Desktop.
Git simplified
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pullen | |
Entfernte änderungen holen | |
// Pushen | |
Lokale änderungen hochladen | |
// Committen | |
Lokale änderungen beschreiben und als bereit für das hochladen markieren | |
// Branch wechseln | |
git checkout andererBranch | |
// branch "feature" auf den stand von master bringen | |
1. git checkout feature | |
1. git pull --rebase origin master | |
2. pushen | |
// untrack a file, that was once pushed (for example a config file with sample password) | |
git update-index --assume-unchanged path/to/file | |
// track agian a untracked file | |
git update-index --no-assume-unchanged path/to/file | |
// see list of untracked files | |
git ls-files -v | grep '^[[:lower:]]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment