Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

node get git hash

require('child_process').exec('git rev-parse HEAD', function(err, stdout) {
    console.log('Last commit hash on this branch is:', stdout);
});
Comment

PREVIOUS NEXT
Code Example
Shell :: keytool list certs java 
Shell :: echo object command line 
Shell :: how to clone databases on mongodb atlas 
Shell :: start automount daemon aix 
Shell :: git hyj 
Shell :: mark raid drive as faulty linux 
Shell :: git conflicts in yarn-lock 
Shell :: unbinding a mac to AD terminal 
Shell :: yaml run inside folder command 
Shell :: create fake json from console 
Shell :: save terminal history to file 
Shell :: print all installed program with scoop 
Shell :: hora terminal 
Shell :: github suddenly gives large file error 
Shell :: sed variable instead of file 
Shell :: promtail multiline 
Shell :: val if $FOO is set (and not null) 
Shell :: sbt run on save 
Shell :: apache terminal count files in folder 
Shell :: pip install pi 
Shell :: diff between tail and head command 
Shell :: what is ssh key 
Shell :: the most profitable business in zimbabwe 
Shell :: bash $! command 
Shell :: stop all docker machiens 
Shell :: linux delete file content 
Shell :: git hub set up 
Shell :: uninstall docker ubuntu 20.04 
Shell :: verify large directory after copy files 
Shell :: see active apcahe conf file 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =