User Tools

Site Tools


software:git

GIT

  • See the latest changes:
    git log
  • Check the status of your files:
    git status
  • Committing something (changes are not at the remote repository):
    git add <file_you_want_to_add>
    git commit -m "commentary, explain here what you have changed"
  • Push (changes the remote repository to your current local version, can only be done if all changes of the remote repository are included in your local version):
    git push
  • Pull (updates your local version by the changes made in the remote repository):
    git pull
  • Create a new branch named newIssue:
    git branch newIssue
  • Switch to another branch:
    git checkout newIssue
  • Switch back to master:
    git checkout master
software/git.txt · Last modified: 2022/01/14 18:44 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki