zoukankan      html  css  js  c++  java
  • 关于gitHub

    http://www.oracle.com/technetwork/java/javase/downloads

    $ git config --global user.name 'zdbadmin'

    $ git config --global user.email '1271913481@qq.com'

    git clone 拉取git项目地址
    mkdir test
    cd test
    git init
    touch al.php 新建文件
    git add al.php 添加到暂存区
    git status 查看状态
    git commit -m '第一次修改文件' 提交到本地仓库

    git push 同步到远程仓库
    //git push报403错误没有权限在 .git/config配置文件中修改
    [remote "origin"]
    url = https://github.com/zdbadmin/biaoshihui.git
    fetch = +refs/heads/*:refs/remotes/origin/*
    修改为
    [remote "origin"]
    //url = https://用户名:密码@github.com/zdbadmin/biaoshihui.git
    url = https://zdbadmin:zdb8317823761.@github.com/zdbadmin/biaoshihui.git
    fetch = +refs/heads/*:refs/remotes/origin/*

    取出数组中某个键的值
    $first_names = array_column($records, 'first_name');
    print_r($first_names);

    ranger(1, 10, 2);
    $array = array(4,5,1,2,3,1,1,2);
    array_count_values($array);返回值出现次数

    Linux查看安装路径的命令:

    whereis php

    which php :这个是查看正在运行的

  • 相关阅读:
    ajax遇到的问题
    Javascript事件传播(冒泡机制) (摘自 博客园 萍水相逢)
    学习的一点体悟和衷告
    localStorag的一点见解
    感谢!
    文件上传的一些方法
    form:form的一点体会
    鼠标事件大汇总
    readonly和disabled的异同
    说说icon图标
  • 原文地址:https://www.cnblogs.com/zhang-bin/p/7845946.html
Copyright © 2011-2022 走看看