Skip to content

Instantly share code, notes, and snippets.

@8dcc
Created April 6, 2022 23:59
Show Gist options
  • Save 8dcc/c033027de69b8e0b803ad057e4eb0f4e to your computer and use it in GitHub Desktop.
Save 8dcc/c033027de69b8e0b803ad057e4eb0f4e to your computer and use it in GitHub Desktop.
Single pull a file with git.
git fetch --all
git checkout origin/master -- <your_file_path>
git add <your_file_path>
git commit
#git commit -m "<your_file_name> updated"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment