git-add and index

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have 2 questions related to index
1. Is it safe to just git-add (without commit) for local changes made
   before checkout or switch to another branch?
2. How to checkout the changes as recorded in index from git-add that
   not yet commit to the working tree?

Thanks!

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩179 王維  奉和聖製從蓬萊向興慶閣道中留春雨中春望之作應制
    渭水自縈秦塞曲  黃山舊遶漢宮斜  鑾輿迥出千門柳  閣道迴看上苑花
    雲裡帝城雙鳳闕  雨中春樹萬人家  為乘陽氣行時令  不是宸遊玩物華
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux