14
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

gitでlocalにbranchを作成し、それをremoteにpushして、remoteにbranchを作成する

Posted at
$ git branch test-1
$ git chekout test-1
Switched to branch 'test-1'
$ git branch
* test-1
  master
$ git push origin test-1
Warning: Permanently added the RSA host key for IP address '000.000.000.000' to the list of known hosts.

Total 0 (delta 0), reused 0 (delta 0)
To user@some.domain.com:project/sandbox.git
 * [new branch]      test-1 -> test-1
$
14
15
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
14
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?