LoginSignup
3
2

More than 5 years have passed since last update.

tutorialspoint.comでgitを使う

Last updated at Posted at 2016-04-28

事実上のonline Linux環境とも言えるサイトが有ります。もちろんC++11も使えます。

しかもSIMDも使えるらしい。SIMD使えるオンラインコンパイラほかにあったっけ?(追記: WandboxでAVXまで使えるようになりました)

A free online C++ IDE with SIMD capability and more | 舶来ゴミ置き場

wgetなんかもできるけど、調子に乗ってffmpegとか落とさないように。

git cloneできない

で、こいつがなかなかに優秀なのですが

git clone https://github.com/YSRKEN/Shioi.git

みたいなことをすると

fatal: unable to look up current user in the passwd file: no such user 

と怒られてしまいます。

かと言って権限的に`git config --globalは使えません。どうするか。

解決策

わりと簡単です。globalにconfigできないならlocalにconfigすればいいですね。

mkdir Shioi
cd Shioi
git init 
git config user.name "なまえ"
git config user.email "めるあど"
git remote add origin https://github.com/YSRKEN/Shioi.git
git fetch
git merge origin/master

やったぜ。

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2