Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

pathberries/git-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

Pathberries

Git Commands

- Empty Repository Initialization

git init

- Configuring email

git config --global user.email "user@mail.com"

- Configuring name

git config --global user.name "userName"

- Adding URL to Repository

git remote add origin URL

- Cloning a Repository

git clone URL

or

git clone URL destinationFolderName

- List branches

git branch

- Creating a branch

git branch branchName

- Changing branch

git checkout destinationBranch

- Merging branch

git merge branchToMerge

- Checking status

git status

- Adding files that were modified

git add fileName

or

git add .

- Commiting files

git commit -m "message"

- Pull files (GitHub to Local)

git pull

- Push Files (local to GitHub)

git push -u origin master

or

git push

About

Git commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /