Author Topic: git checkout how-to for Linux  (Read 8223 times)

0 Members and 1 Guest are viewing this topic.

38PTSWarrior

  • Guest
Thanks, so now I will update to 0.4.7 by doing:

Delete bitsharesx and everything but the wallet folder of BitShares X (I have made a wallet backup with wallet_export_to_json <json_filename>)

Go to terminal
git clone https://github.com/dacsunlimited/bitsharesx.git
cd bitsharesx
git checkout 0.4.7
git submodule init
git submodule update
cmake .
make

Correct?
« Last Edit: August 23, 2014, 01:03:01 pm by 38PTSWarrior »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
git clone https://github.com/dacsunlimited/bitsharesx.git
git checkout 0.4.7

Do I have to go to the bitsharesx folder in the terminal and then type "git checkout 0.4.7".
Basically this is what you need to do .. yes

Or maybe a better question: How can I see the version while running the client. I cannot find a command, thanks!

Not really .. if you run "about" in the console you can see your git-revision which is a longer string
mine looks like

Code: [Select]
{
  "bitshares_toolkit_revision": "987d55167097aceab2fdf7ba98bc6ff0c255378d",
  "bitshares_toolkit_revision_age": "10 hours ago",
  "fc_revision": "578527626cccf691e87e4f24e1ad5f4ef45fe084",
  "fc_revision_age": "37 hours ago",
  "compile_date": "compiled on Aug 23 2014 at 09:59:29"
}

38PTSWarrior

  • Guest
I know these instructions, but I always wonder what this means:


"For Linux users, remember to checkout the tag 0.4.7 first"


git clone https://github.com/dacsunlimited/bitsharesx.git
git checkout 0.4.7

Do I have to go to the bitsharesx folder in the terminal and then type "git checkout 0.4.7".

Or maybe a better question: How can I see the version while running the client. I cannot find a command, thanks!

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
checkout the FULL explanation
http://wiki.bitshares.org/index.php/BuildInstructionsBitSharesX

however, building from source is for 'advanced users' but I realize that there is no binary for linux users .. we should quickly change that

38PTSWarrior

  • Guest
Hi, I don't know how to do the git checkout command. 1000 thx!