LogoLogo
  • Introduction
  • CLI
    • Chocolatey
    • Docker
    • Git
    • nmap
    • npm
    • npm - n
    • npm - npm-check-updates (ncu)
    • npm - npm-license-crawler
    • Python
    • Ubuntu
    • Windows Commands
  • JS
    • JSDoc
Powered by GitBook
On this page
  • Fetch
  • Fetch from remote:
  • Merge with another branch:
  • Remotes
  • Set remote:
  • Verify remote:
  • Tracking
  • Ignore tracked files locally

Was this helpful?

  1. CLI

Git

Fetch

git fetch

Fetch from remote:

git fetch [remote]

Merge with another branch:

git merge [branch]

Options:

  • Merge with unrelated histories: --allow-unrelated-histories

Remotes

Set remote:

git remote add [remote name] git@github.com:[account]/[repo].git

Verify remote:

git remote -v

Tracking

Ignore tracked files locally

git update-index --assume-unchanged [<file>...]
PreviousDockerNextnmap

Last updated 5 years ago

Was this helpful?