Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AndrienkoAleksandr/63d4de9dcab848651d2229b0a5eba718 to your computer and use it in GitHub Desktop.
Save AndrienkoAleksandr/63d4de9dcab848651d2229b0a5eba718 to your computer and use it in GitHub Desktop.
sparseCheckout
1010 mkdir test
1011 cd test
1012 git init
1013 git remote add origin https://github.com/eclipse/che-operator.git
1014 git config core.sparsecheckout true
1015 echo "finisht/*" >> .git/info/sparse-checkout
1016 echo "deploy/*" >> .git/info/sparse-checkout
1017 cat .git/info/sparse-checkout
1018 git pull --depth=1 origin master
1019 ls
1020 git checkout 7.18.0
1021 git checkout v7.18.0
1022 git pull --depth=1 origin v7.18.0
1023 git branch
1024 git checkout v7.18.0
1025 git branch
1026 git branchj -a
1027 git branch -a
1028 git pull --depth=1 origin v7.18.0
1029 git checkout v7.18.0
1030 git branch -a
1031 git list
1032 git --help
1033 git checkout origin v7.18.0
1034 git pull --depth=1 origin tag v7.18.0
1035 git checkout v7.18.0
1036 git log
1037 ls
1038 cd deploy/
1039 ls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment