找回密码
 骑士注册

QQ登录

微博登录

搜索
❏ 站外平台:

查看: 1346|回复: 0
收起左侧

Git and LCTT

[复制链接]
steven_zdg988 发表于 2017-07-16 20:59:21 | 显示全部楼层 |阅读模式

1, install git and config git1, install git and config git
apt-get install git
git config --global user.name "your git name"git config --global user.email "your git email"
2, fork the TranslateProject
first go into the LCTT/TranslateProject https://github.com/LCTT/TranslateProjectclick the fork and clone to your locale repositories
git clone https://github.com/stevenzdg988/TranslateProject.git
add alias to your repositories
cd TranslateProjectgit remote add LCTT_frank https://github.com/LCTT/TranslateProject.git
and fetch it to local the command is:
git fetch LCTT_frankgit branch -av
so get the LCTT update and merge it
git pull LCTT master
3,Translating your select article(essay)
  1),go to local translate project  cd TranslateProject  2),label the article on the front,let other one know it is translted by you vim   3),save it  4),submit it change and push to your repositories. git add yourselectfilename git commit -m "comment:yourgitID translating" git push origin master  5),sponsor PR in the netsite on github in your repositories4,After translate the article you must do:  cd TranslateProject  mv source/your\select\filename translated/your\select\path\filenameand:  cd TranslateProject  git add -A or git add filename  git commit -am "translated"  git push origin master
ok!!

您需要登录后才可以回帖 登录

本版积分规则

快速回复 返回顶部 返回列表

分享到微信

打开微信,点击顶部的“╋”,
使用“扫一扫”将网页分享至微信。