Gestalte GoConqr mit. Was sollen wir als Nächstes hinzufügen?

Karteikarten

Git/Version Control

Andrew Watters Computer Science Englisch 5,0Durchschnittliche Bewertung 5,0 von 5 (1 Bewertung) 17 Karten

Git/Version Control

Karten in diesem Stapel (17)

  1. 1What is Git?Git is a local version control and revision management system.
    It allows users to track changes to projects as well as track history and different versions (branches).
  2. 2git addAdd file contents to the index, staging them for commit. Individual files and entire directories can be added.git add
  3. 3git cloneClones a (usually remote) repository, creating a new directory with the same name.git clone
  4. 4git commit -m ""Record changes to the repository. Files are first staged and usually a descriptive commit message is included.git commit -m ""
  5. 5git checkoutSwitch branches or restore working tree files. If no path is given, git checkout will update HEAD to set the specified branch as the current branch.git checkout
  6. 6git branchLists, creates, or deletes git branches.git branch
  7. 7git diffShow changes between the working tree and index, changes between two files on disc, or changes between two working trees.git diff
  8. 8git fetchFetch refs from one or more repositories. Unlike "git pull", remote changes will not be incorporated and HEAD will not be updated.git fetch
  9. 9git --helpPrints the synopsis and a list of the most commonly used commands for the given operation.
  10. 10git initCreate an empty Git repository or reinitialize an existing one.
  11. 11git pullIncorporates changes from a remote repo. into the current branch. Shorthand for git fetch followed by git merge FETCH_HEAD.git pull
  12. 12git statusShow the working tree status. This is commonly done before a commit to check which files are staged to be committed.git status
  13. 13git pushUpdates remote refs using local refs. Essentially "pushes" committed changes from local repository to the remote repo.git push
  14. 14git mergeIncorporates changes from named commits into the current branch. This is the second sub-process of "git pull".git merge
  15. 15git logShow the commit logs, with author, date/time, and commit ID's for all previous commits.git log
  16. 16git remoteManage a set of tracked repositories. Useful for updating the remote repository URL (git remote set-url origin ).git remote
  17. 17man gitShows the git manual (verbose) and list of all git commands with descriptions.
    Further documentation is also available at: https://git-scm.com/docs/git
    There are also some GREAT tutorials at:
    https://www.atlassian.com/git/tutorials

Informationen

Beschreibung
Set of cards outlining Git and Version Control basics, as well as terminal commands for some common operations.
Erstellt von
Andrew Watters
Aufrufe
145
Tags
gitgit-cliversion-controlsource-controlrepository-managementgithub
Bewertung
Durchschnittliche Bewertung 5,0 von 5 (1 Bewertung)

Mehr zu Version Control and Git

Feedback

Worum geht es?

Was sollen wir als Nächstes hinzufügen?