Cov txheej txheem:

Yuav ua li cas ntxiv ib qhov chaw cia khoom nyob rau hauv Visual Studio?
Yuav ua li cas ntxiv ib qhov chaw cia khoom nyob rau hauv Visual Studio?

Video: Yuav ua li cas ntxiv ib qhov chaw cia khoom nyob rau hauv Visual Studio?

Video: Yuav ua li cas ntxiv ib qhov chaw cia khoom nyob rau hauv Visual Studio?
Video: Leng Yang - Yog Vim Dab Tsi (Official Full Song | Nkauj Tawm Tshiab) 2020/05/24 2024, Hlis ntuj nqeg
Anonim

Coj mus rhaub rau koj cov cloned diav rawg hauv Team Explorer, nyem lub npe bar kom nthuav tawm cov ntawv qhia zaub mov thiab xaiv Chaw

  1. Chaw. Hauv nplooj ntawv qhib xaiv Chaw khaws cia Kev teeb tsa thiab tom qab ntawd pom cov ntu Remotes hauv qab:
  2. Cov chaw taws teeb. Nyem qhov Ntxiv txuas mus qhib lub Ntxiv Chaw Taws Teeb lub qhov rais dialog.
  3. Ntxiv dej ntws nyob deb .
  4. Sync.

Hais txog qhov no, kuv yuav ua li cas ntxiv qhov chaw cia rau Visual Studio?

Hauv Push saib hauv Pab Pawg Explorer, xaiv Publish Git Chaw khaws cia khawm hauv qab Push rau Visual Studio Pab Pawg Pabcuam. Txuas Chaw Tswj Chaw Taws Teeb thiab nkag mus rau koj chaw cia khoom npe thiab xaiv Publish Chaw khaws cia.

Tsis tas li ntawd, kuv yuav ntxiv cov chaw taws teeb li cas? Rau ntxiv ib new nyob deb , siv git tej thaj chaw deb add hais kom ua nyob rau hauv lub davhlau ya nyob twg, nyob rau hauv lub directory koj repository yog khaws cia ntawm. Qhov git tej thaj chaw deb add command yuav siv ob qho lus sib cav: A nyob deb npe, piv txwv li, "keeb kwm" A nyob deb URL, uas koj tuaj yeem pom ntawm qhov chaw sub-tab ntawm koj Git repo.

Tom qab ntawd, lo lus nug yog, Kuv yuav nkag mus rau kuv qhov chaw khaws cia git hauv Visual Studio li cas?

Qhib ib qhov project los ntawm GitHub repo

  1. Qhib Visual Studio 2017.
  2. Los ntawm cov ntawv qhia zaub mov saum toj kawg nkaus, xaiv Cov Ntaub Ntawv> Qhib> Qhib los ntawm Chaw Tswj Xyuas.
  3. Hauv seem Git Repositories, xaiv Clone.
  4. Hauv lub thawv uas hais tias Nkag mus rau qhov URL ntawm Git repo rau clone, ntaus lossis muab tshuaj txhuam URL rau koj qhov repo, thiab tom qab ntawd nias Enter.

Kuv yuav txuas mus rau qhov chaw khaws cia Git li cas?

git folder rau git , clone qhov project thiab luam tag nrho cov ntsiab lus rau hauv daim nplaub tshev ntawd.

Tam sim no hauv koj lub tshuab hauv zos, $cd rau hauv qhov project folder uas koj xav thawb kom git ua cov lus txib hauv qab no:

  1. git ib.
  2. git tej thaj chaw deb ntxiv keeb kwm [email tiv thaiv]:/home/ubuntu/workspace/project.
  3. git ua add.

Pom zoo: