oreoapple.blogg.se

Github git cheat sheet pdf
Github git cheat sheet pdf







github git cheat sheet pdf

Installing Git On OS-X - Using an Installer HEAD~2 refers to the second-to-last commit). HEAD~n syntax is used to refer to older commits (e.g. HEAD (always capitalized letters): a reference name for the latest commit, to save you having to type Commit IDs.Commit ID or hash: a unique identifier for each commit, used for switching to different save points.Git stash: another type of cache that holds unwanted changes you may want to come back later.Staging area: a cache that holds changes you want to commit next.large data folders, private info, and any local files that shouldn’t be seen by the public.) gitignore file: A file that lists other files you want git not to track (e.g. Git merge: The process of combining two branches together.Branch: A copy of the project used for working in an isolated environment without affecting the main project.Commit: A snapshot of the project you can come back to.Cloning: The act of making a clone or copy of a repository in a new directory.Remote repository: An online version of the local repository hosted on services like GitHub, GitLab, and BitBucket.

Github git cheat sheet pdf code#

  • Local repo or repository: A local directory containing code and files for the project.
  • Here’s a run-down of all the terms you may encounter Basic definitions

    github git cheat sheet pdf

    Throughout this cheat sheet, you’ll find git-specific terms and jargon being used. This cheat sheet focuses on one of the most popular ones, Git. They allow you to keep track of what you did when, undo any changes you decide you don't want, and collaborate at scale with others. Version control systems are tools that manage changes made to files and directories in a project.









    Github git cheat sheet pdf