Install requirements

yum install -y scl-utils centos-release-scl
yum install -y sclo-git25

Enable git globally for all users

cat > /etc/profile.d/sclo_git25.sh <<_EOF
#!/bin/sh

source /opt/rh/sclo-git25/enable
source /opt/rh/sclo-git25/root/usr/share/bash-completion/completions/git
_EOF

Activate without relogin

. /etc/profile.d/sclo_git25.sh

Comments

comments powered by Disqus