git

[sunxiaofei007@vr-gpu06 data0]$ cd ~/.ssh/
[sunxiaofei007@vr-gpu06 .ssh]$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/sunxiaofei007/.ssh/id_rsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/sunxiaofei007/.ssh/id_rsa.
Your public key has been saved in /home/sunxiaofei007/.ssh/id_rsa.pub.
The key fingerprint is:
45:fe:3a:a5:25:23:6a:79:d8:41:18:8f:03:8a:cb:06 sunxiaofei007@vr-gpu06
The key's randomart image is:
+--[ RSA 2048]----+
|    . .   .      |
| . . . = o       |
|E .   + o o      |
|o.     o . .     |
|.o      S o +    |
|.      = o B     |
|      = o +      |
|     . .   .     |
|                 |
+-----------------+
[sunxiaofei007@vr-gpu06 .ssh]$ cat id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3bLE6PlKv+4WCaIntIMboKhWbaXOJ6gKhutLakZfs9UJjJLFo9D5GY8G0toLV6R2NeXlyCwtxCziGUIy9Bt7GI4wggdqZybogA01OQ96VYcsLyfs9UN4M3ommLSFmAAIQNUJPa44ShOQEhTQai3fpbKhAjpLOC+6RCTWTYpl5FjePwK2AVVdaXfk0A4n5Y2u9XbK3LNlkg0BLC/20Xgl4rHf+PLCWpMWLjSJ7F0oiOY9iijrL4dG0wiG+m3PjxXhXWFo5GCiX2dLkD4+9o2KH7t9cIvPSFlmY4JLcjcAu5xcNiM8zoYcIykZY04ZTzqM7RdHeJJ0JMV2YbcHOpO/F sunxiaofei007@vr-gpu06
[sunxiaofei007@vr-gpu06 .ssh]$ eval `ssh-agent`
Agent pid 5286
[sunxiaofei007@vr-gpu06 .ssh]$ ssh-add ~/.ssh/id_rsa
Enter passphrase for /home/sunxiaofei007/.ssh/id_rsa: 
[sunxiaofei007@vr-gpu06 .ssh]$ cd 
[sunxiaofei007@vr-gpu06 ~]$ git clone git@git.lianjia.com:vrlab_algorithm/SceneUnderstanding.git
正克隆到 'SceneUnderstanding'...
Enter passphrase for key '/home/sunxiaofei007/.ssh/id_rsa': 
remote: Enumerating objects: 133, done.
remote: Counting objects: 100% (133/133), done.
remote: Compressing objects: 100% (115/115), done.
remote: Total 133 (delta 14), reused 126 (delta 10), pack-reused 0
接收对象中: 100% (133/133), 157.21 KiB | 0 bytes/s, done.
处理 delta 中: 100% (14/14), done.

git command

git log # 查看log
git pull # 
git status
git add filename
git reset --hard 4393f74fac644eda6e2f21f10d2b000df9631edd
git checkout -b sun
git branch

git log
在这里插入图片描述
git pull
在这里插入图片描述

git status
在这里插入图片描述git add preprocessing/helper.py
在这里插入图片描述
git commit -m "name"
在这里插入图片描述
git push origin master
在这里插入图片描述git checkout -b d
在这里插入图片描述在这里插入图片描述在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

知行SUN

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值