IDEA new local projects associated with the remote git repository

  Now git repository to create a remote repository, and then create a local project, and finally associate. Three tricks, kick down the call it a day.

  The first step, the second step the Earth people know, do not skip the table, the third step more crucial, for example:

  1, the first local project submitted to the local repository: Right-click the project -> Click Git -> Add -> Commit Directory -> select the file to be submitted commit to a local warehouse

  2, associated with local and remote warehouse warehouse: Shift + Ctrl + K shortcut call set out Git

  3, click on the red box pop-up settings box to associate:

  4, click on your remote warehouse (warehouse address points Clone copy out some fly) Clone copying warehouse address, enter the address of the remote repository, click ok, then appears on the right list of files you want to push the local repository to the remote repository:

  5. Finally, click push to push past

 

Guess you like

Origin www.cnblogs.com/wuxun1997/p/11270811.html