Useful commands in Git
Introduction
Git is a Distributed model-manipulate device for tracking modifications in supply code all through software development. it's far designed for coordinating work among programmers, but it can be used to tune changes in any set of files. Its goals encompass pace, information integrity, and guide for dispensed, non-linear workflows.add ==================>Add file contents to the index
am ==================>Apply a series of patches from a mailbox
archive================>Create an archive of files from a named tree
bisect=================>Use binary search to find the commit that introduced a bug
branch================> List, create or delete branches
bundle ================>Move objects and refs by archive
checkout ==============> Switch branches or restore working tree files
cherry-pick=============>Apply the changes introduced by some existing commits
citool =================>Graphical alternative to git-commit
clean =================> Remove untracked files from the working tree
clone =================>Clone a repository into a new directory
commit================>Record changes to the repository
describe===============>Give an object a human-readable name based on an available ref
diff ==================>Show changes between commits, commit and working tree, etc
fetch =================>Download objects and refs from another repository
format-patch============>Prepare patches for e-mail submission
GC ==================>Cleanup unnecessary files and optimize the local repository
gitk ==================>The Git repository browser
grep ==================>Print lines matching a pattern
gui ===================>A portable graphical interface to Git
init ===================>Create an empty Git repository or reinitialize an existing one
log ==================>Show commit logs
merge=================>Join two or more development histories together
mv===================>Move or rename a file, a directory, or a symlink
notes =================>Add or inspect object notes
pull===================>Fetch from and integrate with another repository or a local branch
0 Response to "Useful commands in Git"
Post a Comment