LoginSignup
0
0

More than 5 years have passed since last update.

git

Last updated at Posted at 2018-05-30

git fetch origin
git reset --hard origin/master

  • gitリポジトリ作成

cd xxxxxxxx.git
git --bare init --shared

C:\git> git config --global user.email xxxxxx@xxxxxx"
C:\git> git config --global user.name "xxxxxx"

C:\git>git init
Initialized empty Git repository in C:/git/.git/
C:\git> git remote add origin /c/xxxxxxxx.git

C:\git>git remote -v
origin /c/xxxxxxxx.git (fetch)
origin /c/xxxxxxxx.git (push)
`

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0