Git, Project Management, Linux, and Regex Essentials
Classified in Design and Engineering
Written on in
English with a size of 210.28 KB
Git Commands and Concepts
Git key commands and concepts:
add(stage changes)commit(with a message)head(most recent commit)branch(alternative history)checkout(enter/exit branch)merge(combine into master)stash(save without commit, -u for untracked files; latest stashes (0) at the top)pop(retrieve a stash)fork(copy code from the source into a repository)pull(pull remote changes and merge into master)revert(undo commits and create a new commit)log(history with most recent commits first, -p for patch details)rm(--cached to remove from staging)fetch(get changes from a remote repository to a local repository without merging them; useful for reviewing changes)pull(fetch + merge)rebase(create a clean/linear commit history by moving commits