License Cloud and use git

1.4.1 Cloud code

  • License Cloud

Cloud code

After entering the registration information to fill in

  • Creating a warehouse

  • Question: Chinese cloud submitted to the code of garbled

    The machine may be varied stored files encoded as UTF-8 to

1.4.2 git

  • git official website to download the installation package

  • Double-click the installation package to begin installation

  • You can select the default installation

  • Check the desktop right click and select "Git Bash Here"

  • Into the specified directory, the prompts on the operation of the cloud code

  • Actual operation

    result:

1.4.3 git commonly used commands

git init    #初始化,创建一个本地仓库
git add .   #提交当前目录下所有文件到暂存区域
git add dir.txt #指定文件提交到暂存区域
git commit -m "备注信息"    #设置备注信息并提交到本地仓库
git push -u origin master   #提交到远程仓库的master分支,加上 -f 参数表示强制提交覆盖

Guess you like

Origin www.cnblogs.com/os-linux/p/11129361.html