FreeKB - Git (Version Control) articles
Git (Version Control) articles

Version control in Git - Getting Started Adding FilesAdd files to Git using the git add commandDetermine if file has been added using the git ls-files commandArchiveCreate an archive (zip gzip bzip2)BranchesCreate a new branch using the git checkout commandCreate branch using the git branch commandDelete a branch using the git branch commandList branches using the git branch commandSwitch branch using the git checkout commandCloneClone a GitHub repository in VSCodeClone a repository using the git clone commandcloneClone a GitHub repository in VSCodeClone a repository using the git clone commandCommitCommit a file using the git commit commandDetermine if file is ready to be committed using the git status command Roll back to a prior commit using the git revert commandView commit details using the git show commandCompare DifferencesCompare commits using the git diff commandConfigCreate user defined git configurationsList user defined git configurationsRemove user defined git configurationsDownload files from repositoryDownload files using the git checkout commandDownload files using the git fetch commandDownload files using the git pull commandFilesList files in a remote repository using the git ls-remote commandForksfork a repositoryGitHubGetting Started with GitHubIgnoreList files and directories to ignore using the .gitignore fileInstallDownload and install Git on WindowsInstall Git on LinuxLogsView Git log using the git log commandMergeMerge a branch using the git merge commandMove RenameMove or Rename a filePull Requestpull requestRemoveRemove tracked file using the git rm commandRemove untracked files using the git clean commandRepositoryCreate a repository using the git init commandDisplay repository details using the git remote commandTroubleshootingResolve "error: cannot open .git/FETCH_HEAD: Permission denied"Resolve "error: insufficient permission for adding an object to repository database ./objects"Resolve "fatal: Could not read from remote repository"Resolve "no changes added to commit"Resolve "Pull is not possible because you have unmerged files"Resolve "Updates were rejected because the tip of your current branch is behind its remote counterpart"Resolve "URL using bad/illegal format or missing URL"Resolve "Your branch is based on but the upstream is gone"Resolve "your local changes would be overwritten by checkout"Resolve "your local changes would be overwritten by merge"Upload files to origin repositoryUpload files to origin repository using the git push command