Warning

讲真,很早之前就想总结一下git常用的命令了,每次用着用着很多命令都记不住。而且我是英语渣包,有些单词慢慢靠背。

jdk版本:jdk-8u131-linux-x64.rpm

Please do this operation CAREFULLY, otherwise you may get something
wrong with your system.

git只是一个工具,我这写的只是适合我这种快速上手使用工具的小白,深究的请移步别处。

注:以下操作在root用户或具有root权限的用户下操作

 

图片 1

 一、将 dk-8u131-linux-x64.rpm拷贝到/home目录下

When we install application into win10, some of them will register their
services into windows service list to keep some part of the application
available as a daemon. But later when we uninstall the applications,
these application-related service entries may be left behind due to a
failure of uninstallation. Don’t worry, we can easily remove those
unnecessary service entries with win10 cmd.

图解:fetch是将远程的更新到本地,不会合并操作。冲突需自己排查

cp jdk-8u131-linux-x64.rpm  /home/

Please see the following screenshot:

  • Workspace:工作区
  • Index / Stage[steɪdʒ]:暂存区(暂时放在那要提交的)
  • Repository:仓库区(或本地仓库)
  • Remote:远程仓库

 

图片 2

Git是分布式版本控制系统,他们的关系是:

二、解压rpm文件

I will show you how to remove the service “wwbizsrv” from the list as an
example.

Workspace工作区是我们能看到的区域,我们在Workspace工作区修改增加代码;

rpm -ivh jdk-8u131-linux-x64.rpm

Step1: Open cmd console with Administrator permission.

图片 3

完成编辑后,我们用git add 将工作区文件添加到Index / Stage暂存区;

三、环境变量的配置

Step2: Enter the cmd line shown as below, and execute it.

sc delete wwbizsrv

图片 4

Step3: Go back to the service list window to check if the service entry
have been removed successfully.

图片 5

Something go wrong! The service “wwbizsrv” is still in the service list.
Why? Okay, there is one more thing I forgot to mention — “stop the running service“.

Information

If the service that you are going to remove is running, you can remove
it by the cmd line. And after that, don’t forget to stop the service in
the service list dialog. The service entry will be gone as long as it
stops running.

See, the service entry is gone forever.

Now, I have to bring my wwbizsrv service
back 图片 6

然后利用git commit
提交文件到我们自己的Repository仓库区(或本地仓库)或Remote远程仓库。

  注:环境变量的配置稍微麻烦一点,不过也不是特别难。

发表评论

电子邮件地址不会被公开。 必填项已用*标注