-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
41 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -222,4 +222,21 @@ ssh -T [email protected] # 测试生成的是否连同 | |
mkdir repo-foloder && cd repo-folder | ||
git init | ||
git remote add origin [email protected]:Username/Repositories_Name.git # 现在这样仓库就处理好了。 | ||
``` | ||
``` | ||
|
||
# Subversion | ||
|
||
|
||
## 常用命令 | ||
|
||
- svn up(update) | ||
- svn update -r r644 // 切换到版本644 | ||
- svn co(checkout) svn-path // checkout到指定路径 | ||
- svn add file // 添加文件 | ||
- svn commit -m "message" // 直接提交 | ||
- svn st(status) // 状态 | ||
- svn diff | ||
- svn log file-path // 查看某个文件的历史记录 | ||
- svn revert | ||
- svn merge -r 608:602 "" // 从r608回滚到r602 | ||
- svn info // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,6 @@ sudo do-release-upgrade // 这步之后就按y(yes)N(no)或d(detail) 来确认 | |
```shell | ||
find . -name "*libc*" | ||
``` | ||
|
||
- grep | ||
- **grep -rn "xxx"**递归查找字符串xxx | ||
- **--exclude=*.{min.js}**排除文件类型 | ||
|
@@ -113,6 +112,17 @@ export PATH=$PATH:/home/lmj/anacoda2 | |
unset DOWNLOAD | ||
``` | ||
|
||
### ssh(Secure Shell Protocol) | ||
|
||
```shell | ||
sudo apt-get update | ||
sudo apt-get install openssh-server | ||
sudo systemctl status ssh | ||
sudo ufw allow ssh 防火墙 -- ubuntu | ||
sudo systemctl disable --now ssh 禁用ssh | ||
sudo systemctl enable --now ssh 启用 | ||
ssh [email protected] 登录 | ||
``` | ||
永久设置环境变量,可直接更改系统启动文件或当前用户的启动文件 | ||
|
||
- /etc/profile | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters