Skip to content

Commit

Permalink
study
Browse files Browse the repository at this point in the history
  • Loading branch information
wscloli committed Sep 29, 2018
1 parent 0607f6f commit fb16011
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion github使用.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,16 @@ git remote add oriagin
�ڱ���ɾ��һ����֧�� git branch -d newBranch
��githubԶ�̶�ɾ��һ����֧�� git push origin :newBranch (��֧��ǰ��ð�Ŵ���ɾ��)
/git push origin �Cdelete newBranch
ע��ɾ��Զ�̷�֧������ж�Ӧ�ı��ط�֧�����ط�֧������ͬ��ɾ����
ע��ɾ��Զ�̷�֧������ж�Ӧ�ı��ط�֧�����ط�֧������ͬ��ɾ����

git�ָ�����ɾ�����ļ���ȡ�����ӵ��ļ�
git��Ŀ����ʱ����ڱ������ӻ���ɾ����һЩ�ļ������ļ��У������ֲ����ύ��һ������£�����ȡ�����������޸ģ�
git checkout .
ȡ��ָ���ļ��޸ģ�
git checkout filename
ȡ��ָ���ļ�ɾ����
git checkout filename
�ָ�����һ���汾������Խ�������ļ���ɾ�����޸ģ�
git reset --hard HEAD^��
ȡ���������ӵ��ļ��������޸ģ�
git checkout . && git clean -df

0 comments on commit fb16011

Please sign in to comment.