ä¾ï¼hogeã®åãæ¶ã hogeã追å $ svn add hoge ãã£ã±ããããã $ svn revert hoge
routeã³ãã³ãã¯ãIPãã±ãããã«ã¼ãã£ã³ã°ããããã®ã«ã¼ãã£ã³ã°ãã¼ãã«ã®å 容表示ã¨è¨å®ãè¡ããã«ã¼ãã£ã³ã°ãã¼ãã«ã¯ãããã«OSã管çããã«ã¼ãã£ã³ã°æ å ±ãä¿ç®¡ããã¡ã¢ãªãã¼ãã«ã ããã¼ãã«ã®ã¨ã³ããªã¼ãçµè·¯ã表ãã¦ãããçµè·¯ã¯ãããã¯ã¼ã¯ã¾ãã¯ãã¹ãã¸å°éããããã«ééããå¿ è¦ã®ããã²ã¼ãã¦ã§ã¤ã表ãã¦ããã ããã§ãã«ã¼ãã£ã³ã°ãã¼ãã«ã®ç®¡çã¨ã¯ã ã«ã¼ãã£ã³ã°ãã¼ãã«ã®è¡¨ç¤ºã¨ç¢ºèª ã«ã¼ãã£ã³ã°ãã¼ãã«ã¸ã®çµè·¯ã®è¿½å ãåé¤ãå¤æ´ ãæå³ããã æ¸å¼ âWindowsã®å ´å route[ -f][ -p][ PRINT| ADD| DELETE| CHANGE[ å®å IPã¢ãã¬ã¹][ MASK ãµãããããã¹ã¯ã¢ãã¬ã¹[ ã²ã¼ãã¦ã§ã¤IPã¢ãã¬ã¹][ METRIC ã¡ããªãã¯æ°][ IF ã¤ã³ã¿ã¼ãã§ã¤ã¹å]]
ãã¼ã«ã«ã§ä½æãã branch 㯠remote ã« push ããªãã¨ä»ã®äººããè¦ããªããremote ãã clone ãããªãã¸ããªã¯ä½ãããªããã° master ãã©ã³ãããè¦ããªã(ããã«è¦ãã)ã remote ã« branch ã push ããremote ãã clone ãããªãã¸ããªã® branch ãå¤æ´ã㦠push ããã¾ã§ã®æä½ã ãã¼ã«ã«ã«ãªãã¸ããªãä½æãã $ mkdir sandbox $ cd sandbox/ $ git init Initialized empty Git repository in /repos/sandbox/.git/ $ touch README $ git add . $ git commit -m "first commit" [master (root-commit) d31404a] first commit 0
é©å½ã«git add .ã¨ãã£ã¦ããã¨ãã°ããdb/development.sqlite3ãããtreeã«å ¥ã£ã¦ãã¾ã£ã¦å°ãã ããããã¨ãã¯ã git diff --cached ã§commitããããã¨ãã¦ããå 容ã確èªãã¦ã ä¸è¦ãªãã¡ã¤ã«ãè¦ã¤ãããã git rm --cached <ãã¡ã¤ã«å> git rm -r --cached <ãã©ã«ãå> ã¨ãã£ã¦treeããåé¤ããï¼ãã¡ã¤ã«èªä½ã¯FSä¸ã«æ®ãï¼ ããã¦git commitã ãã£ããã 追è¨ã¨è¨æ£2011/09/26 以ä¸ã®ã³ãã³ãã®æ¹ããééãããªãã¦è¯ãã§ãã git reset HEAD -- <ãã¡ã¤ã«å> ããã¯ãç´æçã«è¨ãã¨ãç¾å¨ã®ãã£ã¬ã¯ããªã®å 容ã¯å¤æ´ããã«ãgit addãgit rmã®ãããªãgitã¸ã®å¤æ´éç¥ã ããç¡ãã£ãäºã«ããã³ãã³ãã§ãã å®ã¯ãããgit statusã§è¡¨ç¤ºãããã¡ã
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
git addãåãæ¶ã $ git reset HEAD foo.txt git add ã§ç·¨éå 容ã index ã«è¿½å *1ããã¾ãã ééã㦠index ã«è¿½å ããå ´åã«ããã®ã³ãã³ãã§åãæ¶ããã§ãã¾ãã $ git add foo.txt $ git status # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # modified: foo.txt # $ git reset HEAD foo.txt Unstaged changes after reset: M foo.txt $ git status # On branch master # Changed but not updated: # (use "git add <file
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}