久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      Git 相關使用命令總結

      Git 相關使用命令總結

      全局設置

      git config --global user.name "zyl" git config --global user.email xxx@xxx.com git config --list 檢查你的git設置 git clone xxxxxx.git

      添加新的文件

      vim demo.txt git add demo.txt 添加新的文件 git commit -m 'this is first commit' 提交到本地倉庫,并且設置注釋 git push 將推送這一轉(zhuǎn)變?yōu)橹鞣种?git rm xxx.txt 刪除文件 git commit -m 'xxxx'; 提交到倉庫 git push git pull 拉取文件 git log -all 日志 git branch 查看所有分支 git log --stat xxx 查看 某個支點的提交信息 find .git/objects -type f 查看所有分支

      阿里云相關命令:

      命令行指令

      Git 全局設置

      git config --global user.name "z1577121881" git config --global user.email "1577121881@qq.com"

      創(chuàng)建新版本庫

      git clone git@code.aliyun.com:z1577121881/tantou.git cd tantou touch README.md git add README.md git commit -m "add README" git push -u origin master

      已存在的文件夾或 Git 倉庫

      cd existing_folder git init git remote add origin git@code.aliyun.com:z1577121881/tantou.git git add . git commit -am "你需要填寫的一些信息" git push -u origin master

      碼云相關命令

      設置全局信息

      git config --global user.name "你的名字" git config --global user.email "你的Email" clone 和push git clone http://xxxx/xxxx.git

      創(chuàng)建特征分支

      git checkout -b $feature_name

      提交代碼

      git commit -am "this is commit "

      推送到指定分支

      git push origin $feature_name

      為了方便,最好添加公鑰到git.

      可以通過下面命令生成

      ssh-keygen -t rsa -C "xxxxx@xxxxx.com"# Creates a new ssh key using the provided email # Generating public/private rsa key pair...

      查看public key

      cat ~/.ssh/id_rsa.pub # ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6eNtGpNGwstc....

      添加后,在終端(Terminal)中輸入

      ssh -T git@git.oschina.net

      若返回Welcome to Git@OSC, yourname!

      本文來自 git教程 欄目,歡迎學習!

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號